<?php
namespace App\Models;
use DateTimeInterface;
use Tymon\JWTAuth\Contracts\JWTSubject;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class AuthAdmin extends Authenticatable implements JWTSubject
{
    use Notifiable;
	protected $guard = 'auth_admin';
	protected $hidden = [
		'password'
	];
	/**
	 * @name jwt标识
	 * @description
	 * @author 西安咪乐多软件
	 * @date 2021/6/12 3:11
	 **/
	public function getJWTIdentifier()
    {
        return $this->getKey();
    }
	/**
	 * @name jwt自定义声明
	 * @description
	 * @author 西安咪乐多软件
	 * @date 2021/6/12 3:11
	 **/
    public function getJWTCustomClaims()
    {
        return [];
    }
}
